Senate approves controversial cybercrime bill after 50 amendments