Law to fight internet piracy rushed through