Brendan, first we must establish a baseline for the statement.
" I have heard that submarines traval faster in cold water"
Are we assuming that the statement is correct. if we agree it is, what evidence do we have in support,
We say that the waterr being colder might improve the grip the propreller has on the water,
The cold water density is increased reducing the cavitation generated by the propeller, reduced cavitation means less slip.
A modern Sub is shaped like a tear drop, because it provides the most stream lined shape, however any small imperfections in the hull or the trailing edges of protusions such Aerials, diving planes, etc will produce some cavitation.(Noise)
In all the years i have been in the navy i have never seen a painted one, they are usually cast of a bronze alloy, and may polished to a dregree, but any paint applied would wear off the leading edges fairly quickly, and is not nessersary as the alloy used is corrosion resistant as cast.
If we disagree, we might say the increased water density provides more resistance to forward motion.
Cheers
DeJudge