Let's go back to square one: the P2197 code.
Now, it *could* be from the wire damage, if *could* be a sick sensor, or it *could* be a problems with the valve.
Back at
http://diysprinter.co.uk/reference/ you'll find the 2006 Powertrain diagnostics manual, indexed (somewhat) by P-code.
P2197 starts on page 177. (i'd provide a direct link, but the site is offline at the moment)
We'll also reference the "fuel delivery" chapter in the service manual (section 14, page 7 to be exact (at the moment))
There it clarifies that it's the Fuel Quantity Solenoid they're looking at, which is mounted on the high pressure pump (HPP).
One end of the fuel rail has the fuel pressure sensor, the other end has the fuel pressure solenoid, which releases fuel to go back to the tank.
(from your photo, i can't tell if you're showing the sensor or the solenoid)
The HPP also carries the fuel temperature sensor. (see fig 1 "fuel supply" in the service manual, pg 14-7 )
So now we know that we're chasing down the "Fuel Quantity Solenoid" (or Fuel Quantity Control Valve) and "fuel pressure solenoid", along with the "fuel pressure sensor" in the wiring diagrams.
So we go to page 8w-02-1 which is the component index. That points to 8w-30
From 8w-30's own index, we see:
Fuel Pressure Sensor . . . . . . . . . . . . . . . . . 8W-30-5
Fuel Pressure Solenoid . . . . . . . . . . . . . . . . 8W-30-7
Fuel Quantity Control Valve . . . . . . . . . . . 8W-30-7
Fuel Shutdown Solenoid . . . . . . . . . . . . . . . 8W-30-7
Fuel Temperature Sensor . . . . . . . . . . . . . . 8W-30-5
From which (like your posting) we see:
NOW ... we go back to
http://diysprinter.co.uk/reference/ and drop into the "scanned service documents" sub-folder.
(as i'm writing this, that site seems to be off-line). In there there's a zip file of all of the pages, as well as the pages as individual scans.
We want the ones involving the Fuel Rail and fuel delivery. Of particular interest are 079FuelRailPressSens, 080 and 081.
They include a kind'a schematic of the sensor itself, and its output curve:
--dick (who has been called away from the screen...)