Remove unnecessary StringRef->std::string conversion.