very tough situation for both hands...u know in the back of your head your most definitely ahead but you dont want to call with a marginal hand and get it in preflop with 99...given his play, i would have done the same in both situations and theres just no way you can get away from KK all in preflop...