Ensuring legal compliance in software utilization