Replace PMString with std::string