The cited source describes Hilary Swank and Mariska Hargitay as friends.
“She has been good friends with actress Mariska Hargitay since the two met on the set of television series ER. Hargitay was a maid of honor at Swank's wedding to Philip Schneider in 2018.”