same chords not an infringement
same melody is an infringement
however, you are actually talking about a reproduction, which is covered by a very specific type of license which you can get for pennies on the sales dollar (but for which you must pay up front to begin with)
Go to the harry Fox Agency or similar to learn more