Add decode() overload to the CorePlatformAPI

Add decode() overload to the CorePlatformAPI to be used by
code in framework while removing ByteStringUtils.

Bug: 124232146
Test: build only
Change-Id: I3a85fb17b6553be19e0175bf7474e3ebea2ed6bc
2 files changed