Driving Accountability through Database License Optimization