headlights not working

The black wire that was burnt up is the same gauge wire as the black wire on the alternator.
Goes through the wire loom and is wrapped up so I have not traced it to see if it's the same one.