Adjust license scanning code to work with static license
Before removing the software_licenses table, we need adjust our code to work with the static license data from the spdx catalog.
Before removing the software_licenses table, we need adjust our code to work with the static license data from the spdx catalog.