D2 Lod 2002 Cold Mastery Question

If infinity breaks a cold immune in hell, does cold mastery then apply after breaking cold immune?

Yes it works like a bonus from an item. It was an issue in d2 resurrected when sunder charms came in.