Buddy’s 900xp vs. log

So a buddy of mine went riding and had a log come in through the front into the cab. It got the main wiring harness and pulled plugs out of the back of almost all the switches as well as the electric fan. From what I can tell it didn’t damage any of the wires in the wire loom, but not sure yet. RZR got hot and started pouring out antifreeze, but that is because I discovered his electric fan was unplugged. I plugged it back in, and plugged everything else back in. The plug on the wiring harness side that goes to the speedo is messed up and if you wiggle it, it will quit working. The 4wd switch pulled the 2 wires from the plastic plug on the wiring harness side. My question is, where could he buy a replacement plug on the wiring harness side for the speedometer, or can you without buying a whole harness?