Create pivot cache records and add licenses