The song was actually written by Josh Kelley and was released in 2004. While Jennette McCurdy is known for her acting and musical career, this song was not part of her own repertoire.
It's possible you might be thinking of a different song or have a misunderstanding about the song's origins.