Court Upholds Part of Child Porn Law