place frozen corn, cream cheese, salted butter, heavy whipping cream, granulated sugar, black pepper, salt, and parmesan cheese into a slow cooker. simmer on low or medium for at least 4 hours. stir once or twice during cooking to make sure the gravy comes together.