I don’t think it would destroy jobs for anything high profile (including programmers), but the grunts is a different story. If the secretary or, for instance, nurse, can feed through info and the ‘head’ lawyer/doctor of the practice only has to sign off on the result, the license is not an issue.
Not there yet, but can’t see this as avoidable anymore.
Law firms make money, like any professional services firm, by billing hours. Fewer billable hours means less income for the partners. So while it's the low hanging fruit technically, it will resist as long as possible. It will be clients saying no to paying $250-$500 an hour for work that AI could do better and for free that will force the issue. I foresee more legal work moving in-house.
Medicine is a different beast. There's an acute shortage and a different incentive model (not run as partnerships). Big hospital/medical/insurance firms will invest most heavily in AI.
I don't think any profession that requires a license is at risk. Software engineers resisted a licensing regiment for decades and now the profession will pay a price.