odrefresh: Avoid a couple string copies

With the new utility versions of these functions changing their
arguments from "const char *" to "const std::string&", we want
to avoid using c_str(), so we don't end up making an extra
copy of the string.

Bug: 160683548
Test: TreeHugger

(cherry picked from commit 648fefa36c37ec40060b975b893ccc57b7f6ef89)

Merged-In: If547052e8292bb4d9b26ceaa27b4e5e5ca627ea3
Change-Id: Id38387b40b0f7a4f29402fc05e5affab835c7d69
1 file changed