The church is always going to err on the side of caution & require an annulment procedure if there was a prior marriage. But I can just about guarantee that your friend’s prior marriage was found invalid very quickly on “defect of canonical form” grounds, meaning that the invalidity of the marriage was clear as soon as the facts were set forth.
It was... adultery, abuse and finally the abandonment. She is very happy now.
Annulment = church sanctioned divorce.