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.