If the host is a DataCenter edition you can use AVMA keys
https://learn.microsoft.com/en-us/windows-server/get-started/automatic-vm-activation
If the host is Standard edition then the options are to stand up 2019 guests using the same product key as used on host, or potentially downgrade the Server 2019 license to 2012 R2 so the host and guests can be activated, or another option is to obtain 2012 R2 activations from another source.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--