The copyright in a work is not infringed by any of the following acts if they are carried out for the purposes of meeting a legal requirement by electronic means—
(a) the generation of an electronic form of a document;
(b) the production of information by means of an electronic communication.