Remove some const.

This is done because parse_message no longer uses a const parameter.