rear knock sensor harness is what you broke.
near where it was clipped to the p/s pup is a plug, un plug it and replace or patch the busted wire with solder and shrink tubes.
you will need some long ass needle nose pliers to get the plug back on the knock sensor.