Replace global std::string with const char[]