Prosset,
You can hook that loose ground up on the engine hook top position, or bottom position. Both are connected to the head, which is apparently what it is ultimately grounded to.
This was a mystery to me on reassembly of my engine because clearly that is where it goes on all 1FZFEs that I saw. The strange think about it to me is that the head is aluminum, and the block iron, so why not use the block? Iron is a better conductor.
Replacing the accelerator cable is not that hard. Plug and play, inside and out. If you decide to do this, check the rubber grommet that goes around the steering shaft at the firewall. The center tends to break, causing a leak of unintended outside elements into the cabin. Another easy plug and play job. The grommet can be checked from inside looking up (with a flashlight) into the area where the shaft goes through, while rocking the wheel side to side. Breaks will be apparent.