Metadata is still privacy infringing personal data.
For example, if the cops starts investigating John Doe they may ask the service provider to keep metadata for a fixed period of time, stated on the Marco Civil (six months IIRC). But access to this metadata can only be authorized by a judge.
Edit: Reread the Marco civil an refreshed my memory. What I said is not entirely correct. All metadata is kept by default and needs a court order to be accessed. What authorities may ask without a court order is for the service provider to keep the metadata for a time longer than specified on the Marco civil.
Also, as I said on my previous comment, the intention of the bill was that only metadata was recorded, but the term "registros de conexão -> connections log" is vague enough to be interpreted in other ways :(
In https://news.ycombinator.com/item?id=10749400, it is claimed that "It says basically that police can require records of visited CONTENT without a court order and the ISP is required to supply that without informing the user." He is corrected by someone saying the text means metadata and not content.
Which is true? Do you not consider grabbing metadata to be a wiretap?