There is nothing naive about it. I have been here my entire career and I will not be laid off. I will soon dig into both of the old pensions as well as my 401k on my terms, not theirs.
The key is to actually do nothing, and convince management that you could not care less about your future here. This is a guaranteed full ride ticket on the gravy train.
Once you realize that layoffs are merely an intimidation and power tactic, and act accordingly, you will be safe. Regardless of skill set, age, or any other criteria.
I suspect I’ll get flamed for this; but before you react in an emotional tirade, just think about all of this for a few minutes. If you are as smart as you think you are, you will see the light.