The tenant of a 40-story mixed-use commercial building in Midtown Manhattan is asking a judge for a permanent injunction against its landlord, which is allegedly attempting to terminate a 99-year commercial ground lease over nearly $40 million in mechanic's liens.