Germany adopts national virus law amid protests