NEED HELP,FUEL PUMP BOLT ISSUE,LEAKS OIL

The one you posted has 21 threads. The ones I posted have 21 threads.
When I do the math... Yes.

How much longer is the longer one?

The one in the photo is the longer one. So it appears it is the correct bolt then. That’s good to know.
There’s been lots of good advice here. I’ll probably do the heli-coil repair since it seems the best option for the money. It’s just a shame this had to happen. Such a simple thing as one bolt.