"That's a familiar situation to many out-of-work software engineers, whose skills start depreciating almost as soon as they are laid off, given the dynamism of the industry"
I never understood this. I don't deny it's a common view in the industry, but does it make big difference in reality? Someone who was a good programmer a year or two ago, may be a touch rusty, but they very rapidly come up to speed. Programming talent seems to be a much more valuable attribute that knowledge of frameworks, libraries etc.
My employer generally rubs it's hand with glee when it gets a CV from someone who's just returning from a career break. It's often a sign you can get someone good on the cheap, because other companies will be hesitant to take them.
Dinosaurs aren't extinct. They've just learned to hide in the trees.