The "Grace / disgrace" couplet seems to come from an earlier English sea song called "Aboard the Man-o'-War":
I had a wife and her name was Grace--
My curse upon her ugly face.
'Twas she that brought me to this digrace,
Aboard the man-o'-war, O.
(More or less.)