Make slice->str conversion and related functions const
#90607
+106
−24
Merged