I cannot import your second XML (please try only exporting the POU or application) but when using the first one I will get compile errors as following. You must be able to see similar ones:
ctrlX PLC Engineering - compile errors
After inserting the library CXAC_Licensing to the library manager these are gone. Did you add this library in your project?
ctrlX PLC Engineering - Library manager - CXAC_Licensing
... View more