std::string::data() is used instead of std::string::c_str().