[base] Convert Starts/Ends/Equals string functions to string_view

Test: UTs

Change-Id: I3751656d44e7a814488169c53d3e8af0da44f262
2 files changed