The Secretary may take, and retain for as long as is necessary, possession of a document produced under section 37.