that isn't actually a half bad idea, because it rubs off easily, but inside the controller it wouldn't would it :3 I wonder, inside a hubmotor? the parts don't touch in a brushless motor so...that could be interesting!
hi; if the motor is geared then the sound is coming from the internal geared hub clutch system; it makes sense as it was wet so would wear out the grease quicker; just open up the hub motor and re-grease all the moving parts and the gears/cogs too .
it may also be wearing out on the motor stator e.g. it gets rusty which makes it thicker then it rubs against the magnets on the outer case causing a short which can make it squeek/squeel.