Honda Civic 2005 Trunk & Fuel Hatch Clamp

My father's Honda Civic LS 2005's trunk & fuel hatch were not opening so we investigated and found the part that holds the cable broke from the thingy leaving the metal cap on the cable, so I took some measurements and put this together and clamped it around it. Put some ties on it to make sure it doesn't come off.
I made it slightly longer since my father cut off some of the white part to shorten it so you might wanna experiment with it's bottom lenght. Hope it does help!

I don't have pictures because once we put it on it just worked so we didn't open it back up. But I found this video on YouTube you can see the cable and the thing it clamps around on this video at 12:03 on https://youtu.be/h5ISW-cFtsI?si=_L0ESvMTP5FhdDUO&t=723.