Hi,
Factory resetting the ZD does remove the licenses. If you think the ZD serial still has valid AP licenses, please report a ticket with Ruckus Support along with the ZD serial number, they should be able to share the license file.
If you would like to purchase the new licenses, get in touch with your local Resellers/Distributers.
Regards,
Parikshith