I love Squat University for this kind of thing. This is just the first video I’ve pulled of his for your issue but I’ve definitely seen plenty of shorts with similar problems as well. Definitely worth a look and a try with some of the rehab exercises he recommends.
I haven’t had this exact issue, but I’ve used his rehab exercises for other issues with serious results. He’s good people.