Maybe the wire is corroded inside, if it's got clear insulation. You should install a whole new wire, temporarily taping or use split loom it will make sure it's not shorting. It might be the wire is poorly connected to the fuseholder, and heats up, causing the discoloration.