Don't use std::string in the plugin, convert when communicating with the engine