Remove usage of deprecated address encode/decode API.