Replace deprecated calls to wfMsg and wfMsgForContent.

Change-Id: I662a675b63bdf8542fcb44700a68baf127b89f1d