Hello,
Optimistic
The upper level was the lateral femoral nerve in the outer right thigh, this did not have anything to do with the groin.
I never had groin pain, just a little incontinence, once I lost control, very embarrassing.
I researched this to the pudendal nerve, would have to look up the obturator.
The Horsetail from the L1 down has a LOT of nerves and the L51 has a lot of incontinence issues.
You did just as I did, and found the probable cause, this resolved with surgery, lifting the disc height, and this relieved the pressure on the nerves at those levels.
Not sure why the obturator would be causing you pain after the M6. ( I will look this up)
I have no medical proof, other then what I just told you.
https://en.wikipedia.org/wiki/Obturator_nerve
Take a look and see if you can right click and open these and maybe you can figure out where the pain is originating from, this is the best place to start.
Hope this helps.