Legally, they could very well be seen as a transcript of a performance, which might be a form of IP infringement. In real life, however, it is ridiculous. To go to class means for a teacher to share information with students. That fact is taken for granted by all who would teach or learn anything. But maybe it's been taken for granted to the point where there is no law regulating it. Quite an interesting problem.