A Schwarz lemma and a Liouville theorem for generalized harmonic maps. (January 2022)