millions 'wasted' on software piracy convictions