implementation of the find-sofware-entities-with-compatible-licenses function