If there's a musty smell I bet the battery drain holes in the scuttle panel- engine side bulkhead were clogged. Water then escapes through the holes in the bulkhead right where the CCM is ultimately frying it. Worth checking nthe area regularly to prevent it happening bargain.
Worth noting a replacement CCM might need recoding to the car. But not 100% sure.
Cheers
Steve