Use std::string instead of const char *.