Mary knows about the whole Katie affair, if I remember correctly, Marley told her. With proper explaining, she'd probably be happy she's the only one (left haha) for Marley.
Also, you seem to ignore that Marley is pretty much the first "real true ogmogmogm" love to Mary. She even was a damned virgin until that one EVENT.