Who song that Katy perry sing in 54th Grammy?

Katy sang a new song based on her recent divorce with actor Russel Brand. She sang it for the first time at the Grammys. It is called "Part of Me".