Replace deprecated wfMsg() and friends

Bug: T70750
Change-Id: I48ba5b5710eac6300d71fde65c6c7fffec61af95