Remove c_str function and add const correctness in CSP::string