Authorities alleged that they found the illegal materials after receiving consent to search his iPhone and laptop.