I don't get the first paragraph you are saying. This lazy person puts some random code into a shared component, or... ?
Wouldn't this urgent need mean that they put this code into the microservice that needs this urgent update as opposed to going through the effort to make it available for everyone to use?