hiddenapi: Use std::string_view more.

Using std::string_view instead of std::string avoids a lot
of unnecessary allocations. The time to process the boot
classpath for aosp_taimen-userdebug goes from ~9s to ~6s.

Test: m
Change-Id: I102763a1862cd917cd136b827f66f3d7d93800e3
1 file changed