i only have one masters degree but your best course of action is to email the registrar at the new university/universities and ask them directly. its likely not going to be a strict yes/no type policy.
theyll likely want to see like a syllabus or something for the courses to know that theyre similar enough material. If you dont have that then worst case scenario you should be able to ask to test out of the class and demonstrate that you already know the material
The Artist Formerly Known as Hannyabal