Replace deprecated wfMsg() and friends

Bug: T70750
Change-Id: I48ba5b5710eac6300d71fde65c6c7fffec61af95
(cherry picked from commit e1e6bfeaed598010672b23cc7604d8b4d5610001)