The difference is when Russ makes these jokes he's explicit about it, but Katy just uses her songs to talk about her life experiences and she's not attacking Russ. She doesn't even ever mention his name. The most she's ever talked about her marriage in an interview was like,
"In that period of my life I was obviously in love with somebody else."
While Russell is dishing on her sex life.
