Giving evidence at the Old Bailey, Mark Hanna said he agreed to "look after" bags of property for Charlie Brooks, but it would have been "a different ball game altogether" if it was for his wife.
The Old Bailey trial was shown CCTV of Hanna meeting Mr Brooks in the underground car park of the couple's west London apartment on July 17, 2011. Hanna said Mr Brooks asked him to look after some bags.
Meanwhile, former News International (NI) chief executive Brooks was being interviewed by police and officers were about to search the flat, the court has heard.
Cross-examining the witness, prosecutor Andrew Edis QC asked if he thought it an odd request. Hanna replied: "We look after a lot of things for a lot of people."
He denied the suggestion that he would hide anything from police for Mrs Brooks.
"As far as I was concerned, Rebekah was the primary concern for the police so I would not have got rid of anything for Rebekah."
The court heard that Hanna took the property, which contained an assortment of items including laptops, letters and pornography, to the News International offices and bagged them up outside.
Asked why he did that, Hanna said: "Security and porn do not go well together. The last thing you want the security team to see is porn."
Mr Brooks asked for the property to be returned so Hanna dispatched a security guard and asked him to pick up a pizza en route, the court heard. The guard handed over the pizza but left the bags behind the bins in the car park.
Hanna denied instructing him to do that, saying that would be between Mr Brooks and the guard to agree.
Hanna, 50, of Buckingham, denies conspiring with Rebekah and Charlie Brooks to pervert the course of justice.
All seven defendants in the case deny the charges against them. The trial continues.