The commercial was using a tom waits song sung by an artist who impersonated Tom waits and the folks involved discussed the potential legal implications and did it anyways.
I did read the article and listened to the Doritos song as I mentioned in my comment. I agrree the statements about how they came up with the song are damning, as I mentioned. But they aren't doing a Tom Waits song.