std::basic_string_view does not allow modifying the underlying buffer. This patch introduces a mutable_view which permits that.