Escape getter identifier to use type keyword.

Bug: 270547306

Test: Unable to test it locally due to Bazel adoption for rust.
Change-Id: Ie2a7cbb7c4c56db1f63b2c0c06066098bfdd7284
2 files changed