The federal government is set to introduce new legislation to protect car dealers from multinational automakers.