Avoid intermediate std::string construction

When are calling a function which takes a 'const std::string&',
and we have a std::string "foo", we want to just pass in "foo"
directly, instead of "foo.c_str()".

Test: Compiled
Change-Id: I756057b43934cdcd661deb45e1c1b99c89033468
2 files changed