I don't know where your citations come from. EU law does not require such a thing. The Data Retention Directive mandated retention from 6 to 24 months, but it was invalidated by the CJUE years ago, and asserts that comparable national laws are illegal.