Among them was a friend whom I met after 10 years.
I met one of them for the first time in 10 years.
「〜年ぶりに」は、for the first time in 〜 years を使いますが、ご質問では「2年ぶり」と「10年ぶり」があるので、両方同じように言うとちょっとうるさいですね。
そこで、たとえば
I went for a drink with my friends in university days for the first time in 2 years.
と言ったら、後半たとえば after 10 years を使って
Among them was a friend whom I met after 10 years.
(= There was a friend among them whom I met after 10 years.)
のように変えればいいと思います。