If that were the case, would one not expect the lamp holder to also show signs of thermal damage (which, by implication, is not the case, if the OP is only replacing the cable)?Is the lamp holder making a poor contact with the wires or the lamp, thus creating excess heat?
Kind Regards, John