Hey David
You could widen up the stance a bit to start.
You're knees never really get set at the bottom and continuously travel forward until you start coming back up. They should be set in place about 1/2-1/3 of the way down and stay in place as the hips travel below parallel.
I think getting them set in place, widening up the stance and driving them outward throughout the rep may help clean up whatever is causing the anterior hip pain.
Good luck!