If it were impossible that opponent has AK/AQ/AJ/KQ you still have 10 outs to clearly the best hand.
The guy has made a continuation bet to a checked pot in position, re-raise to $12 if he pushes then call with the odds.
He should fold his overcards to this raise and if he has a set or str8 already then bad luck, re-buy.
Folding here is too weak imo.