On the NER, where there is no checked baggage in any event, nobody even has a scale. As others note, if your dog "looks" as though it is significantly over 20 pounds, that may be an issue, but otherwise don't even give this a second thought.
Note, this will be a miserable trip for an over-sized dog in a carrier dimensioned as required, so bear that in mind.