All works published in the United States before 1923 are in the public domain. Works published after 1922, but before 1978 are protected for 95 years from the date of publication. If the work was created, but not published, before 1978, the copyright lasts for the life of the author plus 70 years.
AS far as substituting your own lyrics - I don't know. I hear many songs that sound exactly like another.
There are only so many ways you can play chords - bound to be similar songs.
I wouldn't worry too much about the copyright police unless you are making big bucks off of it
The price of anything, is the amount of life you exchange for it. - H.D. Thoreau
Your vision is not limited by what your eye can see, but what your mind can imagine.
Make your life count, and the world will be a better place because you tried.
"Use the talents you possess, for the woods would be very silent if no birds sang except only the the best." - Henry Van Dyke