Utah passed a first-in-the-nation law Wednesday requiring app store operators like Apple and Google to verify the ages of users before allowing downloads.