[bindings] use std::string style translation of ConstString whenever possible