I've had issues with it. When I was taught to deadlift and squat ages ago, the conventional wisdom at the time was to focus on arching your back to protect your lower spine. Doing that for years caused me issues as I got older. Not sure how much you'll be able to alter it significantly, but exercises to strengthen the glutes, and abdominals, and stretches for the hip flexors and quads, are what I would focus on. Those are good to do regardless. And through it all, you have to be really mindful of trying to keep a neutral pelvis (squeeze your glutes and suck in your stomach). If you sit a lot, this will probably compound the problem (weakens your glutes and abs due to inactivity and tightens the hip flexors).
Honestly, the best thing I've found that I do multiple times a week, is yoga. That and daily isometric exercises that I do to target weak spots in the glutes and core, basic balance and core stability work (i.e. bridges, hip abductions, one legged chair squats, etc.).