Evaluating old Wiring Harness
Be sure to use dielectric grease on the connections when you install the new harness. Corrosion in connections like the bulkhead connector that tends to go many decades without ever being taken apart will build up oxidation and resistance leading to heat. I would bet that is what melted the engine side connector in your case. I literally pack the bulkhead connector in the dash harness before installing it.