Yes, unless there is enough other evidence to convict you without this evidence. The prosecutor certainly won’t be able to use the pornography found on you as evidence.