There is absolutely no reason to believe the song was written before Ravenscroft's time and see my post of 3rd August for the allegory.
The concensus among ballad scholars is that Scott wrote 'Twa Corbies'. Anything he altered is irrelevant to The Three Ravens.