Literally answered your own question Seriously though, pull the plug off identify where it came from and and repair the loom.
Youve not quite understood, i know one end comes from the plug i need to know where thenother end bolts to, i wouldnt ask if both ends of the wire were connected to something because then i would know what it goes to haha! I tried 385 times to upload a fucking pic but it wasnt having any of it so i guess it does make it a lot harder to answer {}