They aren't similar spots. In hand 1, the action is OTF and there's tons of draws available. So it's the street for draws, plus there's draws available. In hand 2, the action is OTT and about the only draw he should have when he shoves is A
7
(or A
K
)
In addition, the action in hand 1 is fairly standard, but the action in hand 2 is quite odd. Usually, when someone does something very odd, he's doing it for a specific reason. And in poker that specific reason is often a specific hand.
I think in hand 2 you can release because he probably has exactly A7ss, AKss, or he has you beat. If you're concerned about calling, and it seems as if villain has a very narrow range, tend to release.