It's a race to retool. If he can retool to an agentic coding environment quickly he will be OK. Might have to build up the skills outside of work if the current job doesn't allow for it, but I'm less worried about younger people realigning quickly. They're used to it, and younger people are so much more resilient/used to disappointment than we are (economic prospects have been so fucked for Zoomers for so long by so many "once in a lifetime" events and they still soldier on which is a huge testament to them).
Whether reviewing agentic code rather than writing it is a job he wants to do... Different question.
Its older people who can't or won't retool that are going to find that in the game of musical layoff chairs they won't have a chair left when the music stops (and some I've met haven't really internalized that they're even part of the game...)