I know a very different version of this song. I learned it off of a CBC recording by the Toronto duo Muddy York. It was called "Up an' Waur them a', Willie" but it was about William Lyon Mackenzie and the Mackenzie Rebellion in Lower Canada in 1837.
Let's see if I can remember the lyrics:
Chorus:
Up an' waur them a', Willie, up an' waur them a'; Better brave the tyrant's frown than let thy country fall. (Repeat)
The patriots of this infant land have placed their hopes on thee, In dangers past they firmly stand, for thou supported me. Britain's hearts and Scotia's sons with Erin's boys shalt join, To prove their rights were trampled on, their rights as well as thine, Willie...
Bare corruption's filty breast and let the country see, The vile, the base, the selfishness that feed on such as we. God and my rights, Britannia cries, where'ere her banners fly. God and my rights--our heart's supply--for this we'll live or die, Willie...