Added const modifier to String.c_str()