There can be little doubt that the BL song is that posted by Artful Codger from the Levy Collection with an 1866 (U.S.) date.
Brand recorded two versions rewrittn presumably by himself. One was more or less the clean one, the other a cleverly bowdlerized but still suggestive version of one of the gross parodies.