(2) Where any record is made, whether in writing or otherwise, of any communication obtained by means of an interception direction or an entry warrant or both, the person to whom the interception direction or the entry warrant or both, is issued shall, as soon as possible after the record has been made, cause to be destroyed after a prescribed period, so much of the record as does not relate directly or indirectly to the purposes for which the interception direction or the entry warrant was issued or is not required for the purposes of any prosecution for an offence.