This is a horrible thing to happen and unfortunately is becoming more common as people have to work longer to access their full pension than originally planned, with financial repercussions for management. It is also a strategy encouraged on management courses for the young, ambitious and thrusting, (attack more experienced members of staff) with no regard for whole staff management strategy.
You do need to cover your back so keep a journal, as unemotional as possible and in a safe place, but don't dwell on it. Make sure your work is of its usual high standard and maintain pleasant relations with the newest member, but stand your ground if necessary. Do consult your union rep and register the fact you were not given time to read a proposal concerning you before being outvoted on it, and clarify your position.
This is not about you and your personal competence, this is about two inexperienced but ambitious people seeking self-advancement at your expense. Concentrate on doing your job well and enjoying your last few years of work, and as you say, maintaining your dignity and self-respect.