I don't understand why Microsoft has both of these, but there are two options from the Microsoft Store to get the codecs. The difference is not clear to me, but I have both. There is “HEVC Video Extensions”, which costs $0.99 and I assume is the option you were referring to.
But, oddly, there is also “HEVC Video Extensions from Device Manufacturer”, which is free. I found out about this 2nd, free option from LifeHacker.