Was the EU Data Retention Directive ever transcribed into English law?
If so, the Draft Investigatory Powers Bill 2015 would appear to be somewhat moot?
The Data Retention Directive (DRD) was written in 2006, in 2009 the UK implemented the DRD as the Data Retention Regulations (DRR). However, in 2014 the European Court of Justice (ECJ) rules the DRD was non-compliant with the Charter of Fundamental Rights of the European Union (CFR). The DRD was annulled and so was all implementing legislation. As an aside, countries which were fined for NOT implementing the DRD were reimbursed.
For a report on the whole affair you might like to read this:
Cole, M., & Boehm, F. (2014). Data Retention after the Judgement of the Court of Justice of the European Union.