US Supreme Court to look at NSA spying, resale of products