Yes, I know parts from statutory write offs are legally sold at wrecking yards. But statutory write off codes are rather detailed and actually identify the exact damage type that exists. Incident Code W=water damaged, Damage Location Code 14= whole of vehicle, Damage Severity Code L= salt water immersed & code M=fresh water immersed. So from these codes the reason the vehicle is a stat write off is also explicitly identifiable...
It’s vehicles with such codes that I understood couldn’t be parted out. At least that was the case some 15 years ago. I haven’t found any current references about this in my quick google search other than for Victoria which states some parts can’t be sold
seems the rules have been relaxed a little
Within this
web page, click on the the “water damaged vehicle” + symbol to expand that section to read what parts can’t be resold (at least in Vic).
No mention of mechanical parts in above so they can be sold. But, still, water can get in and while the part can look good once cleaned, it may quickly fail. If salt or fresh water gets behind and within the boot of a CV joint (guess it depends on period on water immersion) will likely cause failure unless the joint is cleaned and regreased. And there is no way to know without dismantling the things unless one has Xray vision. It’s a risk, maybe a rather small risk but a risk nevertheless.
Hope you it all goes well and you solve your issues