Aquinas did not invent his opening line. Six centuries earlier Venantius Fortunatus had written Pange, lingua, gloriosi proelium certaminis, sing, my tongue, of the glorious battle, a passion hymn that narrates the cross as a combat and the tree as the trophy, composed in the same trochaic metre that Roman soldiers had once used for marching songs.
Fortunatus's hymn had long been sung in Holy Week, and Aquinas, writing for Corpus Christi, deliberately took up its first words and its metre, changing battle to mystery, proelium to corporis mysterium, so that his eucharistic hymn opens as a quotation his hearers would recognize, the sacrament presented as the continuation of the passion the older hymn sang. The two Pange Linguas have run side by side in the liturgy ever since, the Fortunatus hymn in Passiontide and on Good Friday, where it accompanies the veneration of the cross, the Aquinas hymn at Corpus Christi and Benediction. The borrowed metre had a long afterlife of its own, becoming one of the standard frames of Latin hymnody. Musically the Aquinas text is inseparable from its Phrygian chant melody, whose grave, stepwise motion composers have mined repeatedly, and the Tantum Ergo alone has hundreds of settings, from Mozart's two to Faure's, a devotional repertoire descended at two removes from a late antique battle song.