Tape is one way to fix it, but there are other ways that are better. They require a bit more work. However you fix it, when you are done, you need to make sure the wires do not rub on the metal again. You can wrap the wire harness at the point where it rests on the metal. I used to keep a bag of bicycle inner tube among my tools. I would cut a strip off, wrap it around the wire harness. Secure it with several wire ties and it should last longer that your life expectancy. THEN, you need to start looking for other places where the wire harness rubs on metal. Fix every place not, in the light, then at 02:00 on a rainy night.
