[PATCH] Fix modification of const string