Replace deprecated function wfMsg()

 - Replaces wfMsg() function calls with
     their non-deprecated equivalents

Bug: T70750
Change-Id: I7f59128f3709a3befbf9d98fe75e4843736c2b1f
(cherry picked from commit 691b4c3a79cf7277ad1eedb6c24d7ebe076e968c)