The “Shallow” singer closed out the star-studded benefit concert with a song she co-wrote for the show with her fiancé, Michael Polansky.