Replace method which already exists as strtr

Change-Id: I1a1c5c5c3e72916413191c13c19f0328569444d0