How long does a tdap shot last?

La

So my brothers girlfriend is having a baby well where she’s having her baby her nurse is telling her it last only 2 months. Well I looked up up and it said it last 10 years well what’s true?