my guess for best hand against AA is T9s (of one of the two suits that one of the aces doesn't have - so, for your example, T

9

or T

9

)
As for the best pocket pair to go up against? I'm guessing 99, unless it's TP holding the aces, in that case, KK.