Replace `toUppercase` with `uppercase`. This makes Kotlin 2 happy. Bug: 383569207 Flag: minor refactor Test: compiled with kotlin 2 Change-Id: Ia72d5e4b6f86d26551906c28928255e5a7356557