even if she didn't write it, it doesn't matter. she's the one who fits it to her style, plays it, and sings it. besides, it's only one song. also, it's not like some record executive person wrote it, it's two people she is (or was) close to.
and one last thing, she was probably being modest when she said she added the "tiniest bit of contribution."