No, but it's in article 31 of the TRIPS agreement itself. Anybody who chooses to adopt legislation implementing a waiver still is responsible for meeting its obligations under the remaining articles or paragraphs of article 31 and TRIPS, which control the use of compulsory licensing in a domestic setting.
On November 1st, 2010. See this statement in context.