It seems we have two questions here.
1. Are these profiles the same people? To me I would say yes.
2. What should the LNAB be?
The Annals of the Four Masters for 1118,2 states
In English M1118.2 Diarmaid Ua Briain, King of Munster and of all Leath-Mhogha, died at Corcach-mor-Mumhan, after unction and penance.
In modern Irish M1118.2 Diarmaitt h-Ua Briain, rí Mumhan & Lethe Mogha archena, d'écc h-i c-Corcaigh Móir Mumhan iar n-ongadh & iar n-aithrighe.
So using the language of their time, I would say LNAB should be Ua Briain. The use of h- needs more research.
I have started a side by side English to Modern Irish of the annals at Historical Sources of Ireland
Because this is after 1010 when surnames started to be used in Irish ri's, and nobility, the whole family could be Ua Briain, More research is required
We have also started a page Irish Naming Standards if you disagree or would like to help out.