Moisture can act as a lubricant to quiet/reduce the squeaking coming from the front driveshaft's CV joint, so can pulling it into 4x4 to put a load on the CV. Like a door may squeak under no load but go away if you hang on the door.
The CV joint can be rebuilt for less than the cost of a new driveshaft, that is for sure. Make sure to go for the sealed Spicer 5-1310x u-joints and the sealed version of the CV joint. Contrary to some misconceptions, sealed u-joints are stronger and more durable than the greasable versions with the zerk in the body like the Spicer 5-153x u-joint.